// (C) Szymon Piechowicz, February 2012

#ifndef __MOTORS_H__
#define __MOTORS_H__


#include <stdint.h>


void motors_init(void);

void motors_l_forward(void);
void motors_l_backward(void);
void motors_l_stop(void);
void motors_l_set_speed(int8_t percent); // percent is not exactly duty cycle
void motors_r_forward(void);
void motors_r_backward(void);
void motors_r_stop(void);
void motors_r_set_speed(int8_t percent); // percent is not exactly duty cycle
void motors_both_forward(void);
void motors_both_backward(void);
void motors_both_stop(void);
void motors_both_set_speed(int8_t percent); // percent is not exactly duty cycle


#endif